package com.lishu.carsafe.model;

import com.lishu.carsafe.model.entity.Creator;
import com.lishu.carsafe.model.entity.Fault;
import com.lishu.carsafe.model.entity.Level;
import com.lishu.carsafe.model.entity.Line;
import com.lishu.carsafe.model.entity.Lonlat;
import com.lishu.carsafe.model.entity.Type;
import com.lishu.carsafe.model.entity.VehicleId;

import java.util.List;

public class FaultDetailModel extends BaseModel {
    private FaultDetail data;

    public FaultDetail getData() {
        return data;
    }

    public void setData(FaultDetail data) {
        this.data = data;
    }

    public class FaultDetail{
        private String id;
        private String title;
        private VehicleId vehicleId;
        private String address;
        private Level levelId;
        private Type typeId;
        private String content;
        private VehicleId createOfficer;//Creator
        private String createTime;
        private String mediaType;
        private String mediaUrl;
        private String state;//0未处理1已派工2已处理(state=0可以修改，其他不可修改)

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public VehicleId getVehicleId() {
            return vehicleId;
        }

        public void setVehicleId(VehicleId vehicleId) {
            this.vehicleId = vehicleId;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public Level getLevelId() {
            return levelId;
        }

        public void setLevelId(Level levelId) {
            this.levelId = levelId;
        }

        public Type getTypeId() {
            return typeId;
        }

        public void setTypeId(Type typeId) {
            this.typeId = typeId;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public VehicleId getCreateOfficer() {
            return createOfficer;
        }

        public void setCreateOfficer(VehicleId createOfficer) {
            this.createOfficer = createOfficer;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getMediaType() {
            return mediaType;
        }

        public void setMediaType(String mediaType) {
            this.mediaType = mediaType;
        }

        public String getMediaUrl() {
            return mediaUrl;
        }

        public void setMediaUrl(String mediaUrl) {
            this.mediaUrl = mediaUrl;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        /*private Fault fault;
        private List<VehicleId> vehicles;
        private List<Level> levels;
        private List<Type> types;

        public Fault getFault() {
            return fault;
        }

        public void setFault(Fault fault) {
            this.fault = fault;
        }

        public List<VehicleId> getVehicles() {
            return vehicles;
        }

        public void setVehicles(List<VehicleId> vehicles) {
            this.vehicles = vehicles;
        }

        public List<Level> getLevels() {
            return levels;
        }

        public void setLevels(List<Level> levels) {
            this.levels = levels;
        }

        public List<Type> getTypes() {
            return types;
        }

        public void setTypes(List<Type> types) {
            this.types = types;
        }*/
    }
}
